import request from "../request"
// 风险指标同步
export function getCarList(data){
  return request({
    url: "/car/risk/v/item/syn/get",
    method: "get"
  });
}
// 新增风险指标
export function addRiskItem(data){
  return request({
    url: "/car/risk/v/item/add",
    method: "post",
    data:data,
  });
}
// 修改风险指标
export function updateRiskItem(data){
  return request({
    url: "/car/risk/v/item/upt",
    method: "post",
    data:data,
  });
}
// 风险指标管理列表
export function getRiskItemQuery(data){
  return request({
    url: "/car/risk/v/item/query",
    method: "get",
    params:data,
  });
}
// 启用风险指标
export function startRiskItem(data){
  return request({
    url: "/car/risk/v/item/start",
    method: "post",
    data:data,
  });
}
// 停用风险指标
export function stopRiskItem(data){
  return request({
    url: "/car/risk/v/item/stop",
    method: "post",
    data:data,
  });
}
// 新增风险指标阈值
export function addRiskItemT7d(data){
  return request({
    url: "/car/risk/v/item/t7d/add",
    method: "post",
    data:data,
  });
}
// 修改风险指标阈值
export function updateRiskItemT7d(data){
  return request({
    url: "/car/risk/v/item/t7d/upt",
    method: "post",
    data:data,
  });
}
// 风险指标管理列表阈值
export function getRiskItemQueryT7d(data){
  return request({
    url: "/car/risk/v/item/t7d/query",
    method: "get",
    params:data,
  });
}
// 风险指标下拉列表
export function getRiskItemList(data){
  return request({
    url: "/car/risk/v/item/list",
    method: "get",
    params:data,
  });
}
